package com.poisonh.unifiedauth.utils;

import android.app.Activity;

import com.poisonh.unifiedauth.dialog.CommonDialog;

/**
 * Created by PoisonH on 2016/7/25.
 */
public class ShouCommontDialog
{
    private static CommonDialog mDialog = new CommonDialog();

    public static void showDialog(Activity activity, boolean isShow)
    {
        if (isShow)
        {
            mDialog.show(activity.getFragmentManager(), "aa");
        } else
        {
            mDialog.dismiss();
        }
    }
}
